export interface ComfyUIResponse {
    prompt_id: string;
    status: string;
    outputs?: Record<string, any>;
    node_errors?: any[];
    queue_remaining?: number;
    exec_info?: {
        queue_remaining?: number;
    };
    node_warnings?: any[];
}

export interface GenerationStatus {
    status: 'pending' | 'running' | 'completed' | 'failed';
    progress: number;
    outputs?: any;
    error?: string;
    node?: string;
}

// 删除错误的方法定义，这些应该在 service 类中定义，而不是类型文件中 